package dao;

import entity.BookManage;

import java.sql.SQLException;
import java.util.List;

public interface BookManageDao {
    //查询所有
    List<BookManage> findAll() throws SQLException;

    //新增图书
    int insert(BookManage book) throws SQLException;

    //删除图书
    int deleteById(String id) throws SQLException;

}
